"""
行情页面
"""
import allure
from selenium.webdriver.common.by import By

import config
from base.base_page import BasePage


class Market(BasePage):

    @allure.step(title="进入搜索页面")
    def go_to_search(self):
        self.steps(config.BASE_DIR + '/page/yaml_page/market.yaml')
        self.allure_screenshot('进入搜索页面')
        from page.search import Search
        return Search(self._driver)
